package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.multipart.MultipartFile;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.InventoryDutyDTO;

public interface InventoryDutyService {

    List<InventoryDutyDTO> findAll(Searchable searchable);

    Page<InventoryDutyDTO> search(Pageable pageable, Searchable searchable);

    InventoryDutyDTO create(InventoryDutyDTO dto);

    InventoryDutyDTO details(Long id);

    void delete(Long id);

    InventoryDutyDTO update(Long id, InventoryDutyDTO dto);

    void enable(Long id, String status);

    Workbook download(Long id);

    String upload(MultipartFile file, Long id);
}
